package com.example.beidouapplication;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;

import com.example.beidouapplication.databinding.FragmentCepiaoCountdownBinding;
import com.example.beidouapplication.databinding.FragmentXunbeiCountdownBinding;

public class FragmentXunbeiCountdown extends Fragment {

    static FragmentXunbeiCountdown instance = new FragmentXunbeiCountdown();

    FragmentXunbeiCountdownBinding binding;

    @Override
    public View onCreateView(
            LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState
    ) {

        binding = DataBindingUtil.inflate(inflater, R.layout.fragment_xunbei_countdown, container, false);
        binding.setTime(MainActivity.timerData);
        return binding.getRoot();
    }


    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
//        cepiao_time = getActivity().findViewById(R.id.cepiao_time);
//        cepiao_hint = getActivity().findViewById(R.id.cepiao_hint);
    }


}